# 字符串转换为字典
a = "abcdefg"
print(set(a))

#列表转换为字典
b = ["张三","李四","王五"]
print(set(b))

# 字典转换为合集
c = {"name":"关羽","age":18,"sex":"男"}
print(set(c))

st1 = "abc"
print(max(st1))

list = [1,3,8,10,True]
print(max(list))